.pages{
    float: right;
}
.pagination a {
    text-decoration: none;
    border:1px solid #dfdfdf;
    background-color: #fff;
    color: #686868;
}
.pagination a, .pagination span {
    display: block;
    float: left;
    padding: 0.3em 0.5em;
    margin-right: 5px;
    margin-bottom: 5px;
    min-width:1em;
    text-align:center;
    line-height: 16px;
}
.pagination .current,
.pagination a:hover{
    background: #8cc431;
    color: #fff;
    border:1px solid #dfdfdf;
}
.pagination .current.prev, .pagination .current.next{
    color:#e8e8e8;
    border-color:#e8e8e8;
    background:#fff;
}
